package com.jvm.coline.part5;

/**
 * 堆内存溢出示例1:java.lang.OutOfMemoryError: Java heap space
 * -Xmx20m -Xms20m -Xmn10m -XX:+PrintGCDetails
 */
public class HeapOutDemo1 {
    public static void main(String[] arg0) {
        String[] demo = new String[1000000000];
    }
}
